From: John Crispin Date: Mon, 26 May 2025 09:10:59 +0000 (+0200) Subject: mdns: detect uconfig devices X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=bfc19dab705c0f75a556a77053a3e97611b10532;p=project%2Fufp.git mdns: detect uconfig devices Signed-off-by: John Crispin --- diff --git a/files/usr/share/ufp/plugin_mdns.uc b/files/usr/share/ufp/plugin_mdns.uc index 6a0f16f..308d379 100644 --- a/files/usr/share/ufp/plugin_mdns.uc +++ b/files/usr/share/ufp/plugin_mdns.uc @@ -174,6 +174,13 @@ function handle_fritzbox(txt) return ret; } +function handle_uconfig(txt) +{ + let ret = []; + push(ret, "%class|mdns_uconfig|uconfig"); + return ret; +} + const service_handler = { "_airplay._tcp": handle_apple, "_companion-link._tcp": handle_apple, @@ -186,6 +193,7 @@ const service_handler = { "_hue._tcp": handle_hue, "_fbox._tcp": handle_fritzbox, "_avmnexus._tcp": handle_fritzbox, + "_uconfig._udp": handle_uconfig, }; function arp_resolve(list) @@ -292,6 +300,7 @@ function init(gl) { mdns_printer: 5.0, mdns_scanner: 1.0, homekit_class: 2.0, + mdns_uconfig: 10.0, }); }